Command:
getCurrentLogfileId
Synopsis:
set nIdOfCurrentLogfile [ getCurrentLogfileId ]
Arguments:

This command doesn't take any arguments.

Returns:
The id of the log object to which all output is currently directed.
Availability:
Since version 01.01.00.

Use this command to obtain the id of the current log object. This is required if you want to switch to another log object, but wish to switch back to the current logger using the useLog command later.


Example (follow this link):